From 929787e104051f3ba7c5bee9d696e754bb8db6fc Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 22 May 1993 09:13:57 +0000 Subject: [PATCH] * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar; that feature requires more support to work correctly. --- src/xterm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index d558f394b3e..a6b7fa4c07f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2295,12 +2295,16 @@ x_scroll_bar_handle_click (bar, event, emacs_event) emacs_event->part = scroll_bar_handle; else emacs_event->part = scroll_bar_below_handle; - + + /* Just because the user has clicked on the handle doesn't mean + they want to drag it. */ +#if 0 /* If the user has just clicked on the handle, record where they're holding it. */ if (event->type == ButtonPress && emacs_event->part == scroll_bar_handle) XSET (bar->dragging, Lisp_Int, y - XINT (bar->start)); +#endif /* If the user has released the handle, set it to its final position. */ if (event->type == ButtonRelease -- 2.30.2